﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Code.DAL;

public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //  DBCon con = new DBCon();
        //con.CreateTable("192.168.8.39", "sa", "123456","msn");
        //string str = "";
        //foreach (var c in con.DB.Tbs)
        //{
        //    foreach (var b in c.Columns)
        //    {
        //        if (b.Type.Contains("text"))
        //        {
        //            str += Environment.NewLine + c.Name;
        //        }
        //    }
        //}
        //Response.ContentType = "text/plain";
        //Response.Write(str);
                List<decimal?> lst = new List<decimal?>();
                lst.Add(null);
        var tt = lst.Average(x => x);
    }
    protected void Button1_Click(object sender, EventArgs e)
    {


        //Session["Tables"] = con.DB.Tbs;
        
    }
}